<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>  </title>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

    </head>

    <body>
        <div style="font-size:50px;">
            <script type="text/javascript">
            <!--
                var count = 0;
                /*
                for (var i = 0; i < 100; i++)
                {
                    var a = parseInt(Math.random() * 20 + 1);
                    var b = parseInt(Math.random() * 20 + 1);

                    if (a > b && count++ < 5)
                    {
                        document.write(a + " - " + b + " = <span style='color:#fff;'></span><br />");//" + (a-b) + "
                    }
                }
                count = 0;
                for (var i = 0; i < 100; i++)
                {
                    var a = parseInt(Math.random() * 20 + 1);
                    var b = parseInt(Math.random() * 20 + 1);

                    if (a + b < 20 && count++ < 5)
                    {
                        document.write(a + " + " + b + " = <span style='color:#fff;'></span><br />");// " + (a+b) + "
                    }
                }
                count = 0;
                */
                for (var i = 0; i < 1000; i++)
                {
                    var a = parseInt(Math.random() * 50 + 1);
                    var b = parseInt(Math.random() * 50 + 1);
                    var c = parseInt(Math.random() * 50 + 1);

                    if (a + b - c > 0 && count++ < 10)
                    {
                        document.write(a + " + " + b + " - " + c + " = <span style='color:#fff;'></span><br />");// " + (a+b-c) + "
                    }
                }
            //-->
            </script>
        </div>
    </body>
</html>
